package com.huahua.mapper;

import com.huahua.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author zzuli_huahua
 * @version 1.0
 * @date 2021/6/3 21:38
 */

@Mapper
@Repository
public interface UserMapper {

    @Select("SELECT * FROM user")   //注解开发，查询User全部信息
    List<User> findAllUser();

}
